﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;

public sealed class EnumBuilder : TypeBuilder {
    
    /// <summary>
    /// 获取或设置当前类的基类。
    /// </summary>
    public TypeBuilder baseType;

    public override void write(WriteContext context) {

        attributes |= MemberAttributes.@enum;

        base.write(context);

        Debug.Assert(baseType != null);
        context.writeMember(baseType);

    }

}